package com.icebartech.base.modules.common.service;

import com.icebartech.core.modules.BaseService;
import com.icebartech.core.vo.FileInfo;

/**
 * 图片等附件操作接口类
 * @author wenhsh
 *
 */
public interface AttachmentInfoService extends BaseService{

	/**
	 * 保存一个文件或图片到附件表
	 * @param fileInfo
	 * @return
	 */
	public FileInfo saveAttachmentFile(FileInfo fileInfo);
	
	/**
	 * 根据附件id获取文件url等
	 * @param fileId
	 * @return
	 */
	public FileInfo findAttachmentFile(String fileId);
}
